<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
[#include "/admin/include/head.htm"]
    <script type="text/javascript">

		$(function () {
			var mainform = $("#form1");
			//表单底部按钮
			LG.setFormDefaultBtn(function () {
				f_cancel();
			}, function () {
				f_save(mainform,"p2p_admin_list");
			})
		});
    </script>
</head>


<body style="overflow:hidden;padding:10px;">
<div class="main_admin_content">
	<form action="${path}/admin/rbac/empCg.aspx" id="form1" method="post">
		<table class="main_edit_table">
			<input type="hidden" name="userid" type="text" value="${(emp.id)!''}"/>
			<tr>
				<th>用户名：</th>
				<td>
					<input type="text" name="admin_name" value="${(emp.admin_name)!''}" class="formText">
				</td>
			</tr>
			<tr>
				<th>姓名：</th>
				<td>
					<input type="text" name="username" value="${(emp.name)!''}" class="formText">
				</td>
			</tr>
			<tr>
				<th>密码：</th>
				<td>
					<input type="password" name="password" [#if emp??  ] readonly="readonly" [/#if]  value="${(emp.password)!''}" class="formText">
				</td>
			</tr>
            <tr>
			<th>角色：</th>
			<td>
            [@u.select list=deptlist listKey="id" listValue="name" value="${(emp.depart)!''}"  id="dept_id" name="dept_id"  class="layui-input"/]
			</td>
		</tr>
		</table>
	</form>
</div>
</body>

</html>